<?php if (empty($master['attributes'])): ?>
<form id="myform" method="post" action="<?php echo $_SERVER['REQUEST_URI'] ?>">
<?php else: ?>
<form id="myform" method="post" action="<?php echo $_SERVER['REQUEST_URI'] ?>" <?php echo $master['attributes']; ?>>
<?php endif; ?>
<input type="hidden" name="isPostBack" value="yes" />
<input type="hidden" name="formaction" id="formaction" value="<?php echo $master['action']; ?>" />